package com.api.shopapi.service;

import com.api.shopapi.entity.DeviceLXXueYaJi;
import com.api.shopapi.entity.dto.DeviceLXXueYaJiDTO;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

public interface DeviceLXXueYaJiService {

    int insert(DeviceLXXueYaJi deviceLXXueYaJi);

    int update(DeviceLXXueYaJi deviceLXXueYaJi);

    DeviceLXXueYaJi getByUserCode(String userCode);

    DeviceLXXueYaJi getByDeviceLXXueYaJiCode(String deviceLXXueYaJiCode);

    DeviceLXXueYaJi getBySN(String sn);

    PageInfo<DeviceLXXueYaJiDTO> getPage(int pageIndex,int pageSize,String phone,String sn);



}
